import { http } from '@/utils/http'

// 二手房详情页
export const getSecondHandAPI = (data: any) => {
  return http({
    method: 'GET',
    url: '/admin-api/house/second-hand-house/get',
    data,
  })
}
// 二手房分页
export const getSecondHandPageAPI = (data: any) => {
  const headers = {
    'tenant-id': "1",
  };
  return http({
    method: 'GET',
    url: '/admin-api/house/second-hand-house/page',
    data,
    header:headers
  })
}
//二手房收藏信息分页
export const getSecondHandHousePageAPI = (data: any) => {
  return http({
    method: 'GET',
    url: '/admin-api/house/favorite/second-hand-house-page',
    data,
  })
}
